<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<style>
    table > thead > tr > th, table > tbody > tr > th, table > tfoot > tr > th, table > thead > tr > td, table > tbody > tr > td, table > tfoot > tr > td {
    border: 1px solid #999;
           line-height: 1.42857;
    padding: 8px;
    vertical-align: middle;
}
    table {
        width: 100%;
}
</style>
<body class="gray-bg">
<div class="row">
    <div class="col-sm-3">
        <div class="wrapper wrapper-content project-manager">
            <h3>标题：<label th:text="${consultations.title}"></label></h3>
            <p class="small font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    一级栏目：<label th:text="${consultations.firstColumn}"></label>
                </span>
            </p>
            <p class="small font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    二级栏目：<label th:text="${consultations.secondColumn}"></label>
                </span>
            </p>
            <p class="small font-bold">
                 <span><i class="fa fa-circle text-success"></i>
                    缩略图：<img style="width: 150px" th:src="${consultations.thumbnail}" />
                </span>
            </p>

            <p class="small font-bold">
                <span><i class="fa fa-circle text-warning"></i>
                    审核状态：<span th:if="${consultations.state==0}" class="label label-primary">待审核</span>
                    <span th:if="${consultations.state==1}" class="label label-success">已通过</span>
                    <span th:if="${consultations.state==2}" class="label label-anger">未通过</span>
                    <span th:if="${consultations.state==9}" class="label label-default">已删除</span>
                </span>
            </p>


            <p class="small font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    访问数：<label th:text="${consultations.accessNumber}"></label></span>
            </p>
            <p class="small font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    审核人：<label th:text="${consultations.checkerId}"></label>
                </span>
            </p>
            <p class="small font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    审核时间：<label th:text="${consultations.checkerDate} eq null ? '' : ${#dates.format(consultations.checkerDate, 'yyyy-MM-dd HH:mm:ss')}"></label>
                </span>
            </p>
            <p class="small font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    创建人：<label th:text="${consultations.createrId}"></label>
                </span>
            </p>
            <p class="small font-bold">
                <span><i class="fa fa-circle text-success"></i>
                    创建时间：<label th:text="${consultations.createrDate} eq null ? '' : ${#dates.format(consultations.createrDate, 'yyyy-MM-dd HH:mm:ss')}"></label>
                </span>
            </p>
        </div>
    </div>
    <div class="col-sm-9">
        <div class="wrapper wrapper-content animated fadeInUp">
            <div class="ibox">
                <div class="ibox-content">
                    <div class="row m-t-sm">
                        <div class="col-sm-12">
                            <div class="panel blank-panel">
                                <div class="panel-body">
                                    <div class="tab-content">
                                        <div class="tab-pane active" id="tab-1">
                                            <div class="feed-activity-list">
                                                <div class="feed-element" th:utext="${consultations.contents}">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>

<div th:include="include::footer"></div>
<script src="//s.xlongwei.com/res/js/My97DatePicker/WdatePicker.js"></script>
</body>
</html>
